﻿using System;
using System.Text;

namespace TeamFranceTriple
{
    public partial class ResourceNotFound : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            StringBuilder message = new StringBuilder("aspxerrorpath:&nbsp;" + Request.QueryString["aspxerrorpath"]) ;

            Exception exc = Server.GetLastError();

            if (Session["lasterror"] != null)
                message.Append("<br />" + (string)Session["lasterror"]);
           
            Label1.Text = message.ToString();

            this.Server.ClearError();
        }
    }
}